package add;

public class Add {
    private  int re;
    public void add(int x, int y) {
        re=x+y;
    }
    public void sub(int x,int y) {
        re = x-y;

    }
    public void divdie(int x, int y) {
        re = x/y;

    }
    public void multiply(int x,int y) {
        re = x*y;
    }
    public void clear() {
        re =0;
    }
    public int getre() {
        return re;
    }
}
